<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>接收地址参数</title>
</head>
<body>
<script type="text/javascript">
    var s = location.search.substring(1)
    var arr = s.split("&")
    let a  =arr[0].split("=")[1]
    let b  =arr[1].split("=")[1]

    let c = parseInt(a) + parseInt(b)

    document.writeln(`${a} + ${b} = ${c}`)
</script>
</body>
</html>